<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['share_manual']) && (($_SESSION['share_manual']&1<<1) == 0))) {
	$this->_redirect(HOST_BACKEND);
}
$objCategory				= new Category();
$this->view->arrCategory	= $objCategory->getParent(SHARE_MANUAL_TYPE);
if(isset($_SESSION['SHARE_MANUAL_POST']['pcategoryid']) && $_SESSION['SHARE_MANUAL_POST']['pcategoryid'] > 0) {
	$this->view->arrSub		= $objCategory->getChild($_SESSION['SHARE_MANUAL_POST']['pcategoryid']);
}